
#ifndef _MAINIMG_H_
#define _MAINIMG_H_

class MainImg : public QWidget
{
	Q_OBJECT
public:
	MainImg(QWidget *parent = nullptr);
	~MainImg();

	public Q_SLOTS:
	void onReceiveDepthFrame(QByteArray depthData);
 
protected:
	void paintEvent(QPaintEvent *event)override;
private:
    QImage img;
};

#endif

